// 引入连接
const { Schema } = require('mongoose');
var mongoose = require('./db');

// 定义Schema
var UserBindSchema = mongoose.Schema({
    openId: String,
    userId: Schema.Types.ObjectId
})

var UserBind = mongoose.model('UserBind', UserBindSchema, 'UserBind')

module.exports = UserBind